﻿<!doctype html>
<!-- Copyright (c) 2014 Google Inc. All rights reserved. -->
<html>
<head>
  <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
  <title>google-apis Demo</title>
  <script src="../platform/platform.js"></script>
  <link rel="import" href="google-apis.html">
</head>
<body>

  <google-client-api></google-client-api>
  <google-plusone-api></google-plusone-api>

  <div></div>

  <script>  
    var msg = document.querySelector('div');
    window.addEventListener('api-load', function(e) {
      msg.innerHTML += e.target.localName + ' loaded' + '<br>';
      console.log(e.target.localName + ' loaded');
    });
  </script>
</body>
</html>
